import React from 'react';
import ReactDOM from 'react-dom';
import Route from './router'
import {AppContainer} from 'react-hot-loader'
import '@/css/main.less'



const render = Component => {
  ReactDOM.render(

      <AppContainer>
        <Component/>
      </AppContainer>,
    document.getElementById('root')
  )
}

render(Route)


